package spring.cloud.tasks.common.nodepaths;

import spring.cloud.tasks.common.Symbols;

public class ExecutorTaskNodePath {

    public static final String ROOT = Symbols.SLASH + "executor_tasks";

    public static String getExecutorTasksNodePath(String executorId) {
        return ROOT + Symbols.SLASH + executorId;
    }

    public static String getExecutorTaskNode(String executorId, String taskId) {
        return getExecutorTasksNodePath(executorId) + Symbols.SLASH + taskId;
    }

}
